<%= error_messages_for :user %>
<% form_for :user, :url => { :action => :signup } do |form| %>

<div id="register">
  <h3>Please Register</h3>
  <table summary="Layout for registration form">
    <tr>
      <td><label for="firstname">First Name</label></td>
      <td><%= form.text_field(:firstname, :class => "input-box") %></td>
    </tr>
    <tr>
      <td><label for="lastname">Last Name</label></td>
      <td><%= form.text_field(:lastname, :class => "input-box") %></td>
    </tr>      
    <tr>
      <td><label for="login">Login ID</label></td>
      <td><%= form.text_field(:login, :class => "input-box") %></td>
    </tr>      
    <tr>
      <td><label for="email">Email</label></td>
      <td><%= form.text_field(:email, :class => "input-box") %></td>
    </tr>      
    <tr>
      <td><label for="password">Password</label></td>
      <td><%= form.password_field( :password, :class => "input-box") %></td>
    </tr>      
    <tr>
      <td><label for="password_confirmation">Confirm</label></td>
      <td><%= form.password_field( :password_confirmation, :class => "input-box") %></td>
    </tr>
    <tr>
      <td colspan="2"><%= submit_tag "Sign Up" , :class => "submit" %></td>
    </tr>
  </table>    
</div>
<% end %>
